package com.pig4cloud.pig.duorou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pig4cloud.pig.duorou.entity.DuorouGreenhouseDeviceEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DuorouGreenhouseDeviceMapper extends BaseMapper<DuorouGreenhouseDeviceEntity> {

	/**
	 * 根据grenhouseID 返回所有的deviceID IPage<Long> page,
	 */
	public List<Long> getDevIdListByHouseID(Long greenHouseID,String delFlag);
}